@charset "utf-8";
@import "base";


section {
    width: 100%;
}


//热门游戏

@media (max-width: 767px) {
    .hot-game .game-bg-none {
        background: none;
    }
}

.game01-bg {
    height: auto;
    background: url(../img/game_bg_01.png) no-repeat left;
}
.hot-bg {
    width: 40px;
    height: 100px;
    background: url(../img/hot_bg.jpg) no-repeat center;
    p {
        font-size: 1.4285em;
        font-family: "microsoft yahei";
        color: #fff;
        padding: 0 10px;
        padding-top: 20px;
    }
}
.game-header {
    font-family: "microsoft yahei";
    h1 {
        font-size: 2.14em;
        padding-top: 10px;
        color: #2a2a2a;
    }
    p {
        font-size: 0.85714em;
        margin-bottom: 20px;
        line-height: 30px;
        color: #898989;
    }
}
.game-item {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    padding-top: 43.83912%;
    &:hover {
        opacity: .8;
    }
    a {
        display: block;
    }
    img {
        position: absolute;
        left: 0;
        top: 0;
    }
}

.game02-bg {
    background: url(../img/game_bg_02.png) no-repeat right;
}


//更多案例
.case {
    padding: 50px 0;
    font-family: "microsoft yahei";
    .case-title {
        padding-bottom: 9px;
        margin: 40px 0 20px;
        h1 {
            font-size: 2.5714em;
            color: #010101;
        }
    }
    .case-item {
        margin-bottom: 30px;
    }
    .case-item-img {
        border-radius: 5px;
        overflow: hidden;
        position: relative;
        padding-top: 43.83912%;
        cursor: pointer;
        &:hover .case-item-text {
            left: 0;
            transition: all .6s;
        }
        img {
            position: absolute;
            top: 0;
            left: 0;
            &:hover {
                opacity: .8;
            }
        }
        .case-item-text {
            background-color: rgba(0,0,0,.5);
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            transition: all .6s;
            p {
                font-size: 0.85714em;
                color: #fff;
                line-height: 20px;
                padding: 13px 13px 0 13px;
                text-align: left;
            }
        }
    }
    .case-item-name {
        width: 100%;
        font-size: 1em;
        color: #2a2a2a;
        text-align: center;
        padding-top: 10px;
        overflow: hidden;
    }
}
